From abeee433a88a45dee7e1352a7e2df7000dd86b67 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Thu, 12 Jan 2006 20:20:07 +0000 Subject: [PATCH] * (bug 4000) Support for \textstyle et al. in --- RELEASE-NOTES | 1 + math/texutil.ml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bdbccc13ce..b01089887f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -467,6 +467,7 @@ fully support the editing toolbar, but was found to be too confusing. * Avoid PHP notice on command-line scripts if empty argument is passed ('') * (bug 4571) Partial fix hack for {{fulllurl:}} in action=render * (bug 3502) Bowtie symbol for TeX +* (bug 4000) Support for \textstyle et al. in === Caveats === diff --git a/math/texutil.ml b/math/texutil.ml index 7ee24fcccb..830965761a 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -450,6 +450,10 @@ let find = function | "\\rm" -> DECLh ("\\rm ", FONTFORCE_RM) | "\\it" -> DECLh ("\\it ", FONTFORCE_IT) | "\\cal" -> DECL "\\cal " + | "\\displaystyle" -> LITERAL (TEX_ONLY "\\displaystyle ") + | "\\scriptstyle" -> LITERAL (TEX_ONLY "\\scriptstyle ") + | "\\textstyle" -> LITERAL (TEX_ONLY "\\textstyle ") + | "\\scriptscriptstyle"-> LITERAL (TEX_ONLY "\\scriptscriptstyle ") | "\\bf" -> DECL "\\bf " | "\\big" -> BIG "\\big " | "\\Big" -> BIG "\\Big " -- 2.20.1